home *** CD-ROM | disk | FTP | other *** search
- Path: grafix.xs4all.nl!john.hendrikx
- Date: Sun, 28 Jan 96 19:46:11 GMT+1
- Newsgroups: comp.sys.amiga.programmer
- Distribution: world
- Subject: Re: Amiga doesn`t need Planar!
- MIME-Version: 1.0
- Content-Type: text/plain; charset=iso-8859-1
- Content-Transfer-Encoding: 8bit
- From: john.hendrikx@grafix.xs4all.nl (John Hendrikx)
- Message-ID: <john.hendrikx.4a6p@grafix.xs4all.nl>
- Organization: Grafix Attack BBS Holland
-
- In a message of 27 Jan 96 Michael Van Elst wrote to All:
-
- >> How about lines? Drawing a (near) vertical line is very expensive.
-
- MVE> Depends. If your render engine (CPU or blitter) is fast compared to
- MVE> memory speed then the line-drawing algorithm produces little overhead.
- MVE> If it is slow then the number of graphics memory accesses are not
- MVE> significant.
-
- So, what do you think is likely nowadays? Memory is slow these days.
-
- MVE> Also, the differences to chunky displays are much smaller if you have a
- MVE> high resolution display and your lines are more than just a single
- MVE> pixel wide.
-
- That would have to be a pretty wide line, and you'd better hope it doesn't
- overlap a WORD or LONG boundary (or whatever width is used to access the
- gfx-memory).
-
- You see, Planar can only get near to Chunky's speed when it comes to drawing a
- line, it usually is much lower however. Planar can never hope to exceed
- Chunky's speed at drawing a line, no matter if it is thicker, horizontal. The
- only chance Planar has to be faster is when using display-depths Chunky does
- not directly support (ie, 5-bit deep) and even then the situation would have to
- be quite ideal for Planar to use less memory accesses than 8-bit Chunky to draw
- a line.
-
- There are indeed a few things Planar can do faster, but these things are
- usually of very limited value and only needed in small areas taking only a
- small portion of the time spend manipulating graphics.
-
- Grtz John
-
- -----------------------------------------------------------------------
- John.Hendrikx@grafix.xs4all.nl TextDemo/FastView/Etc... development
- -----------------------------------------------------------------------
- -- Via Xenolink 1.981, XenolinkUUCP 1.1
-